<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    

    <script src="./utils/myquery.js"></script>
    <script>

        //获取学历--------------------------------
            $.ajax({
                type:"post",
                url:"/ajax/one",
                isAsync:true,
                data:{
                    "name":"张三",
                    "age":18,
                    "gender":"男"
                },
                success:function(data){
                    console.log(data)
                }
            });
         //获取班级---------------------------------------
          $.ajax({
             type:"get",
             url:"/ajax/two",
              data:{
                  "classname":"班级1",
              },
              success(result){
                  console.log(result)
              }
         }); 

         //获取学生列表
         $.ajax({
             type:"get",
             url:"/ajax/three",
              data:{},
              success(result){
                  console.log(result)
              }
         }); 

        console.log("over")
    </script>

</body>
</html>
